﻿using Microsoft.Extensions.Configuration;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace MiniFox.Web.Configurations
{
    /// <summary>
    /// 
    /// </summary>
    public sealed class StaticResourceSetting
    {
        /// <summary>
        /// 唯一标识
        /// </summary>
        [ConfigurationKeyName("name")]
        public string Name { get; set; }
        /// <summary>
        /// 
        /// </summary>
        [ConfigurationKeyName("folderName")]
        public string FolderName { get; set; }
        /// <summary>
        /// 
        /// </summary>
        [ConfigurationKeyName("requestPath")]
        public string RequestPath { get; set; }

        /// <summary>
        /// 
        /// </summary>
        [ConfigurationKeyName("defaultFile")]
        public string DefaultFile
        {
            get;
            set;
        } = "index.htm";
    }
}
